Generate or edit an image with FLUX.2 [klein] 4B
Submits an image generation or editing task with FLUX.2 [klein] 4B. The fastest, most lightweight FLUX.2 model, with open weights that run on consumer GPUs.
Authorizations
Body
Input model for FLUX.2 Klein (non-base) - like Pro but max 4 images.
Text prompt for image generation.
"ein fantastisches bild"
Path to the input image.
Path to the second input image.
Path to the third input image.
Path to the fourth input image.
Optional seed for reproducibility.
42
Width of the image
x >= 64Height of the image
x >= 64Tolerance level for input and output moderation. Between 0 and 5, 0 being most strict, 5 being least strict. If you wish to increase the safety_tolerance beyond these levels please reach out to the team.
0 <= x <= 5jpeg, png, webp URL to receive webhook notifications
1 - 2083Optional secret for webhook signature verification

